<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>系统管理</title>
  {include file="common/_require"}

  <script>
    var currentHeaderNavItem = 'System';
    var currentLeftNavItem = 'easy_blue';
  </script>
</head>

<body class="layui-layout-body">

  <div class="layui-layout layui-layout-admin">
    {include file="common/_header"}

    {include file="common/left_system"}

    <div class="layui-body">

      <div style="padding:15px">
        <div class="main-header">
          <span class="layui-breadcrumb">
            <a>首页</a>
            <a><cite>系统设置</cite></a>
          </span>
        </div>
        <div class="main-container">
          <div class="layui-col-md6">
            <fieldset class="layui-elem-field">
              <legend>系统管理</legend>
              <div class="layui-field-box">
                <form class="layui-form" action="{:url('admin/System/update')}" method="post"
                  lay-filter="*">
                  <div class="layui-form-item">
                    <div class="layui-form-label">首页块1标题前半部分</div>
                    <div class="layui-input-block">
                      <input type="text" name="easy_index_block_1_title_1" value="{:get_system_config('easy_index_block_1_title_1')}" class="layui-input">
                    </div>
                  </div>
                  <div class="layui-form-item">
                    <div class="layui-form-label">首页块1标题后半部分</div>
                    <div class="layui-input-block">
                      <input type="text" name="easy_index_block_1_title_2" value="{:get_system_config('easy_index_block_1_title_2')}" class="layui-input">
                    </div>
                  </div>
                  <div class="layui-form-item">
                    <div class="layui-form-label">首页块2标题前半部分</div>
                    <div class="layui-input-block">
                      <input type="text" name="easy_index_block_2_title_1" value="{:get_system_config('easy_index_block_2_title_1')}" class="layui-input">
                    </div>
                  </div>
                  <div class="layui-form-item">
                    <div class="layui-form-label">首页块2标题后半部分</div>
                    <div class="layui-input-block">
                      <input type="text" name="easy_index_block_2_title_2" value="{:get_system_config('easy_index_block_2_title_2')}" class="layui-input">
                    </div>
                  </div>
                  <div class="layui-form-item">
                    <div class="layui-form-label">首页底部查看链接跳转</div>
                    <div class="layui-input-block">
                      <input type="text" name="easy_index_bottom_jump_url" value="{:get_system_config('easy_index_bottom_jump_url')}" class="layui-input">
                    </div>
                  </div>
                  <div class="layui-form-item">
                    <button class="layui-btn layui-btn-fluid" submit lay-submit lay-filter="site-info">保存</button>
                  </div>
                </form>
              </div>
            </fieldset>

          </div>
        </div>
      </div>
    </div>


    {include file="common/_footer"}

    <script>
      layui.use(['layer', 'form'], function () {

        var form = layui.form;

        form.val('*', {
          index_tpl_name: '{:get_system_config("index_tpl_name")}'
        })

      })
    </script>
  </div>`
</body>

</html>